package com.mingqijia.gassafety.authority.api.resp.role;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.mingqijia.gassafety.authority.api.resp.manager.ManagerRespDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 创建后的返回数据
 * @author Damon S.
 * @version v0.2
 * @date 2021-06-19
 */
@Data
@ApiModel(value = "角色信息数据")
public class RoleInfoRespDTO implements Serializable {
    @ApiModelProperty(value = "角色ID")
    private String id;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @ApiModelProperty(value = "状态：0-冻结，1正常")
    private Integer state;

    @ApiModelProperty(value = "所属公司Id")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String spId;

    @ApiModelProperty(value = "描述")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String description;
}